package com.wtf.dsp.admin.constant;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Configuration
public class TemplateNameRules {

    public static List<String> classRules;

    @Value("${template.rules:.java,.xml,.sql,.vue}")
    public void getRules(List<String> classRules){
        TemplateNameRules.classRules = classRules;
    }
}
